package cn.hdu.liang.core.service.country;

import java.util.List;

import cn.itcast.common.page.Pagination;
import cn.hdu.liang.core.bean.country.Province;
import cn.hdu.liang.core.query.country.ProvinceQuery;


public interface ProvinceService {

    public Integer addProvince(Province province);

    public Province getProvinceByKey(Integer id);

    public List<Province> getProvincesByKeys(List<Integer> idList);

    public Integer deleteByKey(Integer id);

    public Integer deleteByKeys(List<Integer> idList);

    public Integer updateProvinceByKey(Province province);

    public Pagination getProvinceListWithPage(ProvinceQuery provinceQuery);

    public List<Province> getProvinceList(ProvinceQuery provinceQuery);
}
